/*
@author https://yunp.top
 */

@file:JsQualifier("createjs")

package createjs

external object Ticker : EventDispatcher {
    var framerate: Int
    var interval: Int
    var maxDelta: Int
    var paused: Boolean
    val RAF: String
    val RAF_SYNCHED: String
    val TIMEOUT: String
    var timingMode: String

    fun getEventTime(runTime: Boolean = definedExternally): Float
    fun getMeasuredFPS(ticks: Int = definedExternally): Int
    fun getMeasuredTickTime(ticks: Int = definedExternally): Int
    fun getTicks(pauseable: Boolean = definedExternally): Int
    fun getTime(runTime: Boolean = definedExternally): Int
    fun reset()
}